package com.library.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.library.entity.StudentInfo;

import java.util.Date;

public class StudentInfoRes extends StudentInfo {

    @Override
    public Date getBirth() {
        return birth;
    }

    @Override
    public void setBirth(Date birth) {
        this.birth = birth;
    }

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date birth;

}
